from django.shortcuts import render


# Create your views here.

def view_question_mainpage(req):
    if req.method == 'GET':
        return render(req, 'question/index.html')
    elif req.method == 'POST':
        pass


def view_question_detail(req, question_id):
    if req.method == 'GET':
        return render(req, 'question/question.html', {'question_id': question_id})
    elif req.method == 'POST':
        pass
